package com.aabbc.camel.main;

import org.apache.camel.spring.Main;

/**
 * MainTest1
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2020-06-05 17:15
 * @blame Team
 */
public class Main_Jetty {

    public static void main(String[] args) throws Exception {
        // Main makes it easier to run a Spring application
        try(Main main = new Main()){
            // configure the location of the Spring XML file
            main.setApplicationContextUri("aaaaa/camel-context-jetty.xml");
            // run and block until Camel is stopped (or JVM terminated)
            main.run();
        }
    }
}
